<?php /* Smarty version 2.6.19, created on 2012-12-22 17:31:30
         compiled from vietcad/index.tpl.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'vietcad/index.tpl.html', 20, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['usertemplate'])."/header.tpl.html", 'smarty_include_vars' => array('title' => 'header')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
    	<div class="content">
   			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['usertemplate'])."/left.tpl.html", 'smarty_include_vars' => array('title' => 'left')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
        	<div class="cont_right">
            <?php if ($this->_tpl_vars['productsIndexItems']): ?>
            <?php $_from = $this->_tpl_vars['productsIndexItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['proItem']):
?>
            <div class="boxsp">
                <div class="bubbleInfo">
                    <div class="picsp">
                        <img class="trigger" src="<?php echo $this->_tpl_vars['ROOTPATH']; ?>
/gallery/avatar_upload/products/avatar/<?php echo $this->_tpl_vars['proItem']->getAvatar(); ?>
" id="download">
                        
                    </div>
                    <div class="khunghienthi">
                    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['usertemplate'])."/popup.tpl.html", 'smarty_include_vars' => array('title' => 'popup')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    </div>
                    <div class="bottomsp">
                        <ul>
                            <li class="tensp"><a href="<?php echo $this->_tpl_vars['proItem']->getViewUrl(); ?>
"><?php echo $this->_tpl_vars['proItem']->getName(); ?>
</a></li>
                             <?php if ($this->_tpl_vars['proItem']->getSPrice()): ?>
                            <li class="vaochitiet"><a href="<?php echo $this->_tpl_vars['proItem']->getViewUrl(); ?>
" title="<?php echo $this->_tpl_vars['proItem']->getName(); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['proItem']->getSPrice())) ? $this->_run_mod_handler('number_format', true, $_tmp, 0, ",", ".") : number_format($_tmp, 0, ",", ".")); ?>
 VNĐ</a></li>
                            <?php else: ?>
                            <li class="vaochitiet"><a href="<?php echo $this->_tpl_vars['proItem']->getViewUrl(); ?>
" title="<?php echo $this->_tpl_vars['proItem']->getName(); ?>
"><?php if ($this->_tpl_vars['proItem']->getPrice() != 0): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['proItem']->getPrice())) ? $this->_run_mod_handler('number_format', true, $_tmp, 0, ",", ".") : number_format($_tmp, 0, ",", ".")); ?>
 VNĐ <?php else: ?>Đang cập nhật<?php endif; ?></a></li>
                            <?php endif; ?>
                        </ul>
                    </div><!--bottomsp-->
                </div>
			</div>
            <?php endforeach; endif; unset($_from); ?>
            <?php endif; ?>
   </div>
   		</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['usertemplate'])."/footer.tpl.html", 'smarty_include_vars' => array('title' => 'footer')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 